package sharm.dao;

import sharm.pojo.Book;
import sharm.pojo.Comment;

import java.util.List;

/**
 * @author ViTe
 * @create 2022/6/4 - 19:02
 */
public interface CommentDao {
    public int addComment(Comment comment);
    public int deleteCommentByid(Integer id);


    public List<Comment> queryComments(String gamename);
    Integer queryForPageTotalCount(String gamename);

    List<Comment> queryForPageItems(int begin, int pageSize, String gamename);


}
